import request from '@/utils/request'

// 会议签到统计
export function meetingSignStat(query) {
  return request({
    url: '/partybuilding/MeetingReceipt/meetingSignStat',
    method: 'get',
    params: query
  })
}

// 查询会议回执列表
export function listMeetingReceipt(query) {
  return request({
    url: '/partybuilding/MeetingReceipt/list',
    method: 'get',
    params: query
  })
}

// 查询会议回执详细
export function getMeetingReceipt(id) {
  return request({
    url: '/partybuilding/MeetingReceipt/' + id,
    method: 'get'
  })
}

// 新增会议回执
export function addMeetingReceipt(data) {
  return request({
    url: '/partybuilding/MeetingReceipt/add',
    method: 'post',
    data: data
  })
}

// 修改会议回执
export function updateMeetingReceipt(data) {
  return request({
    url: '/partybuilding/MeetingReceipt/edit',
    method: 'post',
    data: data
  })
}

// 删除会议回执
export function delMeetingReceipt(id) {
  return request({
    url: '/partybuilding/MeetingReceipt/remove/' + id,
    method: 'post'
  })
}
